<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" id="PurchaseInShowPage" canvaswidth="375" canvasheight="667" orientation="vertical" controller="PurchaseInShowPageController" namespace="com.yonyou.ncmm_pac_pda">
    <import ref="PurchaseInShowPage.css" type="css"/>
    <link type="text/css" href="sys/theme.css"/>
    <script src="#{path.controller}/commonjs/AppPatch.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/AppService.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_map.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pub.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_datamange.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_puintest.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_http.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/extjs/jquery-2.1.1.min.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingheadvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_measdocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_dateutil.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_puinutil.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_loadvoutil.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinscanvo.js" type="text/javascript"/>
    <div id="viewPage0" onload="createTable()">
        <navigatorbar id="navigatorbar1" title="采购入库" class="navigatorbarclass">
            <input id="button1" class="ngbbuttonclass" onclick="back()" type="button"/>
            <label id="label12"/>
            <input id="imagebutton2" imagebuttontype="icon" value="查询" istogglebutton="false" class="imagebuttonclass" onclick="showQueryPage()" type="imagebutton" checked="false"/>
            <input id="imagebutton1" imagebuttontype="icon" value="图标名称" istogglebutton="false" class="imagebuttonclass" onclick="showMenuList()" type="imagebutton" checked="false"/> 
        </navigatorbar>
        <div id="panel7">
            <div id="panel0">
                <input id="textbox0" bindfield="code" autofocus="autofocus" maxlength="256" placeholder="录入单据码" type="text" onchange="scanonchange()"/>
                <input id="imagebutton0" imagebuttontype="icon" value="图标名称" istogglebutton="false" class="imagebuttonclass" onclick="showScanEditPage()" type="imagebutton" checked="false"/> 
            </div>
            <search id="search0" bindField="search0" placeholder="搜索" localstorage="true" onsearch="search()"/> 
        </div>
        <div id="panel11">
            <div id="panel12">
                <listView id="listviewdefine0" bindfield="puinlist" onload="loadListData()" onitemclick="onEventClick_ListViewItemClick()" onrestart="loadDataFromLocalDB()" collapsed="true">
                    <div id="panel3">
                        <div id="panel2">
                            <div id="panel5">
                                <label id="label5">单据号：</label>
                                <label id="label1" bindfield="vbillcode"/> 
                            </div>
                            <div id="panel6">
                                <div id="panel10">
                                    <label id="label4">物料名称:</label>
                                    <label id="label0" bindfield="materialname"/> 
                                </div> 
                            </div>
                            <div id="panel9">
                                <div id="panel14">
                                    <label id="label13">数量(主/辅):</label>
                                    <div id="panel8">
                                        <label id="label3" bindfield="nnum"/>
                                        <label id="label2">/</label>
                                        <label id="label14" bindfield="nastnum"/> 
                                    </div> 
                                </div> 
                            </div>
                            <div id="panel4">
                                <label id="label7">扫描主数量:</label>
                                <label id="label8" bindfield="scanednum"/> 
                            </div> 
                        </div> 
                    </div>
                    <label id="label10"/> 
                </listView> 
            </div>
            <div id="panel13">
                <div id="panel15">
                    <input id="button0" value="今天" class="textbtnclass" onclick="getDayData()" type="button"/>
                    <input id="button8" value="本周" class="textbtnclass" onclick="getWeekData()" type="button"/>
                    <input id="button9" value="本月" class="textbtnclass" onclick="getMonthData()" type="button"/> 
                </div> 
            </div> 
        </div>
        <div id="panel17">
            <div id="panel18">
                <input id="button4" value="详情" class="textbtnclass" onclick="showDetail()" type="button"/>
                <input id="button5" value="采集" class="textbtnclass" onclick="showScanWithRowInfo()" type="button"/>
                <input id="button6" value="删除" class="textbtnclass" onclick="itemDelete()" type="button"/>
                <input id="button7" value="取消" class="textbtnclass" onclick="itemCancle()" type="button"/> 
            </div> 
        </div> 
    </div> 
</window>
